package cc.flyflow.common.dto.process;

import cc.flyflow.common.dto.flow.node.EmptyNode;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Data;

import java.util.Map;

/**
 * 检查条件匹配Dto
 *
 * @author Jyl
 */
@Data
public class CheckConditionMatchDto
{

    /**
     * 节点条件
     */
    @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = EmptyNode.class)
    private EmptyNode node;
    /**
     * 参数
     */
    private Map<String, Object> paramMap;
}
